Neco Unit is an RGB light board unit with cat ear shape, including 35 **WS2812C-2020 **RGB lamp beads. It is equipped with two 4pin grove ports for connecting M5Stack host and expanding more units. In addition, there is a button to interact with the host and switch between different lighting effects. It is suitable for home decoration, party atmosphere, stage performance and other scenes.
If it is set to be in full brightness for a long time, it will cause the lamp bulbs to burn out, it is recommended to set the brightness to around 20.
Resources | Parameters |
---|---|
RGB lamp bead | WS2812C-2020 |
Consumes current | 5mA(each RGB lamp bead) |
Brightness level | 256 levels of brightness display |
Connection method | Serial cascade interface |
Operating temperature | 0-85°C |
Number of colors | 16777216 colors |
Product Size | 41*46*1mm |
Package Size | 95*65*25mm |
Product Weight | 9.2g |
Package Weight | 34.7g |
#include <Adafruit_NeoPixel.h>
#define PIN 2 // M5AtomS3
#define NUMPIXELS 70
Adafruit_NeoPixel pixels(NUMPIXELS, PIN, NEO_GRB + NEO_KHZ800);
#define DELAYVAL 100
void setup() {
pixels.setBrightness(20);
pixels.begin();
}
void loop() {
pixels.clear();
for(int i=0; i<NUMPIXELS; i++) {
pixels.setPixelColor(i, pixels.Color(244, 24, 208));
}
pixels.show();
}